/*
 * AT24C02.h
 *
 *  Created on: Mar 1, 2024
 *      Author: Administrator
 */

#ifndef INC_AT24C02_H_
#define INC_AT24C02_H_
#define CLK(x) HAL_GPIO_WritePin(GPIOA, CLK_Pin, x)
#define DAT_WRITE(x) HAL_GPIO_WritePin(GPIOA, DAT_Pin, x)
#define DAT_READ() HAL_GPIO_ReadPin(GPIOA,DAT_Pin)
#define ACK 0
#define NOACK 1
void DAT_IN();
void DAT_OUT();

#endif /* INC_AT24C02_H_ */
